package com.jic.market.api.manage;

import com.jic.common.base.vo.RestResult;
import com.jic.market.request.*;
import com.jic.market.response.PageResponse;
import com.jic.market.response.PatchGrouponMerchantResponse;
import com.jic.market.response.PromotionMerchantResponse;

import javax.servlet.http.HttpServletRequest;

/**
 * @author guohuayong
 * @date: 2020年01月14日
 */
public interface PatchGrouponMerchantApi {
    RestResult<PageResponse<PatchGrouponMerchantResponse>> list(PatchGrouponMerchantRequest request);
    RestResult<PatchGrouponMerchantResponse> detail(PatchGrouponMerchantRequest request);
    RestResult<Integer> deleteByPromotionId(PatchGrouponMerchantRequest request);
    RestResult<Integer> saveBatchByPromotionId(PatchGrouponMerchantRequestList p);
    RestResult<Integer> deleteById(PatchGrouponMerchantRequest request);
}
